package com.example.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 86188
 */
@FeignClient(name = "producer")
public interface ProducerService {

    @RequestMapping("/hello")
    String hello(@RequestParam(value = "name") String name);
}
